package com.pearadmin.hospital.mapper;

import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import com.pearadmin.hospital.domain.HospitalReturngoods;

/**
 * 收到退货Mapper接口
 * 
 * @author yuan
 * @date 2021-07-29
 */
@Mapper
public interface HospitalReturngoodsMapper 
{
    /**
     * 查询收到退货
     * 
     * @param id 收到退货ID
     * @return 收到退货
     */
    public HospitalReturngoods selectHospitalReturngoodsById(Integer id);

    /**
     * 查询收到退货列表
     * 
     * @param hospitalReturngoods 收到退货
     * @return 收到退货集合
     */
    List<HospitalReturngoods> selectHospitalReturngoodsList(HospitalReturngoods hospitalReturngoods);

    /**
     * 新增收到退货
     * 
     * @param hospitalReturngoods 收到退货
     * @return 结果
     */
    int insertHospitalReturngoods(HospitalReturngoods hospitalReturngoods);

    /**
     * 修改收到退货
     * 
     * @param hospitalReturngoods 收到退货
     * @return 结果
     */
    int updateHospitalReturngoods(HospitalReturngoods hospitalReturngoods);

    /**
     * 删除收到退货
     * 
     * @param id 收到退货ID
     * @return 结果
     */
    int deleteHospitalReturngoodsById(Integer id);

    /**
     * 批量删除收到退货
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    int deleteHospitalReturngoodsByIds(String[] ids);

}
